package com.guigu.tms.commons.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 车次信息表
 * </p>
 *
 * @author wj
 * @since 2022-09-28
 */
@TableName("pd_transport_trips")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PdTransportTrips implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "transport_trips_id", type = IdType.AUTO)
    private Integer transportTripsId;

    /**
     * 车辆编号
     */
    private Integer truckId;

    /**
     * 车次编号
     */
    private String id;

    /**
     * 车次名称
     */
    private String name;

    /**
     * 发车时间
     */
    private String departureTime;

    /**
     * 所属线路id
     */
    private String transportLineId;

    /**
     * 周期，1为天，2为周，3为月
     */
    private Integer period;

    /**
     * 状态  0：禁用   1：正常
     */
    private Integer status;

    @TableField(exist = false)
    private PdTransportLine pdTransportLine;
}
